LAB-1367 Rename publisher to template for Cloud Matrix Correlation Record.#102
Conversation
There was a problem hiding this comment.
Pull request overview
Renames the publisher field to template for the CloudMatrixCorrelationRecord model in the Data Gateway OpenAPI spec to reflect updated domain terminology.
Changes:
- Updated the
CloudMatrixCorrelationRecordexample payload to usetemplateinstead ofpublisher. - Renamed the schema property from
publishertotemplateand updated its description/examples. - Updated the schema’s
requiredlist to requiretemplateinstead ofpublisher.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "discoverDate": "2025-12-15T21:13:12.821Z", | ||
| "isComplete": true, | ||
| "publisher": "Test Publisher One", | ||
| "template": "Test Template - Microsoft Enterprise", |
There was a problem hiding this comment.
Within this schema, the top-level description still mentions "publisher" details even though the example now uses template. Please update the CloudMatrixCorrelationRecord description to refer to template (and remove/replace publisher wording) to keep the schema docs consistent.
| "isComplete": true, | ||
| "publisher": "Test Publisher One", | ||
| "template": "Test Template - Microsoft Enterprise", | ||
| "updatedAt": "2025-12-15T21:13:12.821Z", |
There was a problem hiding this comment.
After renaming publisher to template in CloudMatrixCorrelationRecord, there are still OpenAPI response examples elsewhere in this spec (e.g., /Api/CloudMatrix/Dashboard and the nested correlation object in /Api/CloudMatrix/Assessment) that use publisher and omit the now-required template field. Those examples will no longer validate against this schema and should be updated to match the renamed/required property.
fdc9329
into
feature/LAB-611_CMA_Endpoints_Descriptions
No description provided.